-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Series.nlargest thinks True < False #26157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #26157 +/- ##
==========================================
- Coverage 92% 91.99% -0.01%
==========================================
Files 175 175
Lines 52371 52373 +2
==========================================
- Hits 48184 48182 -2
- Misses 4187 4191 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26157 +/- ##
==========================================
- Coverage 91.98% 91.98% -0.01%
==========================================
Files 175 175
Lines 52371 52373 +2
==========================================
- Hits 48175 48174 -1
- Misses 4196 4199 +3
Continue to review full report at Codecov.
|
7cb4f28
to
5708b24
Compare
@WillAyd I don't think the failed test case is related to this PR. Would you please take a look? |
@gfyoung PR is updated as asked. Could you please take a look? The broken CI seems not relevant to this PR. |
@swyoon : That's very odd...can you try rebasing / merging |
@gfyoung the CI failure has been fixed. all checks are green. |
- use 1-arr insteat of -arr for sorting a boolean array casted to uint - add test - add whatsnew
@jreback the tests are green. |
@jreback Could you please take a look? |
thanks @swyoon |
use
1-arr
instead of-arr
when sorting a boolean array casted to uintcloses Nlargest on boolean return False first #26154
tests added / passed
passes
git diff upstream/master -u -- "*.py" | flake8 --diff
whatsnew entry